package org.colafries.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author colafries
 * @version v1.0
 * @ClassName ${NAME}
 * @Description
 * @date Created in 2024/3/14
 **/
@SpringBootApplication(scanBasePackages = {"org.colafries"})
//增加MapperScan后, xxxMapper类，可以不增加@Mapper注解
@MapperScan("org.colafries.admin.mapper")
@EnableAspectJAutoProxy
@EnableCaching
public class ColaFriesAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(ColaFriesAdminApplication.class,args);
    }
}